/**
 * AppIndexView 部件模型
 *
 * @export
 * @class AppIndexViewModel
 */
export class AppIndexViewModel {

    /**
     * 菜单项集合
     *
     * @private
     * @type {any[]}
     * @memberof AppIndexViewModel
     */
    private items: any[] = [
        {
	id: '82D63241-B88D-4ED2-8590-46D84B53F0A6',
	name: 'menuitem1',
	text: '首页',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '首页',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	layout:'TABLE_24COL',
	colLG:'-1',
	colLGOffset:'-1',
	colMD:'24',
	colMDOffset:'-1',
	colSM:'-1',
	colSMOffset:'-1',
	colWidth:'-1',
	colXS:'-1',
	colXSOffset:'-1',
	iconcls: 'home',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc7',
	appFuncType: 'APPVIEW',
	resourcetag: '',
	authtag:'App-AppIndexView-menuitem1',
},
        {
	id: '7A7D3956-8757-4016-979E-CF5B9F57DDC2',
	name: 'menuitem2',
	text: '店铺申请',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '店铺申请',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	layout:'TABLE_24COL',
	colLG:'-1',
	colLGOffset:'-1',
	colMD:'24',
	colMDOffset:'-1',
	colSM:'-1',
	colSMOffset:'-1',
	colWidth:'-1',
	colXS:'-1',
	colXSOffset:'-1',
	iconcls: '',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc8',
	appFuncType: 'APPVIEW',
	resourcetag: '',
	authtag:'App-AppIndexView-menuitem2',
},
        {
	id: '05A17A01-301F-4A5E-A529-E2F2C07907FC',
	name: 'menuitem3',
	text: '我的',
	type: 'MENUITEM',
	counterid: '',
	tooltip: '我的',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	layout:'TABLE_24COL',
	colLG:'-1',
	colLGOffset:'-1',
	colMD:'24',
	colMDOffset:'-1',
	colSM:'-1',
	colSMOffset:'-1',
	colWidth:'-1',
	colXS:'-1',
	colXSOffset:'-1',
	iconcls: 'person',
	icon: '',
	textcls: '',
	appfunctag: 'AppFunc23',
	appFuncType: 'APPVIEW',
	resourcetag: '',
	authtag:'App-AppIndexView-menuitem3',
},
    ];

	/**
	 * 应用功能集合
	 *
	 * @private
	 * @type {any[]}
	 * @memberof AppIndexViewModel
	 */
	private funcs: any[] = [
        {
            appfunctag: 'AppFunc23',
            appfuncyype: 'APPVIEW',
            openmode: '', 
            componentname: 'my-portal-view', 
            codename: 'myportalview',
            deResParameters: [],
            routepath: '/appindexview/:appindexview?/myportalview/:myportalview?',
            parameters: [
                { pathName: 'myportalview', parameterName: 'myportalview' },
            ],
        },
        {
            appfunctag: 'AppFunc8',
            appfuncyype: 'APPVIEW',
            openmode: '', 
            componentname: 'shop-type-app-portal-view', 
            codename: 'shoptypeappportalview',
            deResParameters: [],
            routepath: '/appindexview/:appindexview?/shoptypeappportalview/:shoptypeappportalview?',
            parameters: [
                { pathName: 'shoptypeappportalview', parameterName: 'shoptypeappportalview' },
            ],
        },
        {
            appfunctag: 'AppFunc7',
            appfuncyype: 'APPVIEW',
            openmode: '', 
            componentname: 'workbench-portal-view', 
            codename: 'workbenchportalview',
            deResParameters: [],
            routepath: '/appindexview/:appindexview?/workbenchportalview/:workbenchportalview?',
            parameters: [
                { pathName: 'workbenchportalview', parameterName: 'workbenchportalview' },
            ],
        },
	];

    /**
     * 获取所有菜单项集合
     *
     * @returns {any[]}
     * @memberof AppIndexViewModel
     */
    public getAppMenuItems(): any[] {
        return this.items;
    }

    /**
     * 获取所有应用功能集合
     *
     * @returns {any[]}
     * @memberof AppIndexViewModel
     */
    public getAppFuncs(): any[] {
        return this.funcs;
    }
}
// 默认导出
export default AppIndexViewModel;